package com.ruoyi.wechat.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

public class CommentsVO {
    private Long id;
    private Long wechatUserId;
    private String avatarUrl;
    private String[] picsArray;
    private String nickName;
    private String content;
    private String schoolName;
    //学校介绍
    private  String intro;
    private String schoolPics;
    private Long objectId;
    private String title;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    private int likeCount;  //点赞数
    private int replyCount; //回复数
    private int isLike; //是否点赞

    public int getIsLike() {
        return isLike;
    }

    public void setIsLike(int isLike) {
        this.isLike = isLike;
    }

    public Long getWechatUserId() {
        return wechatUserId;
    }

    public void setWechatUserId(Long wechatUserId) {
        this.wechatUserId = wechatUserId;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String[] getPicsArray() {
        return picsArray;
    }

    public void setPicsArray(String[] picsArray) {
        this.picsArray = picsArray;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(int replyCount) {
        this.replyCount = replyCount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getSchoolPics() {
        return schoolPics;
    }

    public void setSchoolPics(String schoolPics) {
        this.schoolPics = schoolPics;
    }

    public Long getObjectId() {
        return objectId;
    }

    public void setObjectId(Long objectId) {
        this.objectId = objectId;
    }

    @Override
    public String toString() {
        return "CommentsVO{" +
                ", content='" + content + '\'' +
                ", schoolName='" + schoolName + '\'' +
                ", intro='" + intro + '\'' +
                ", schoolPics='" + schoolPics + '\'' +
                ", objectId=" + objectId +
                ", title='" + title + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }
}
